package com.food.eat.search.service;

import com.food.eat.util.PagedGridResult;
import org.springframework.stereotype.Service;

/**
 * @Author:RenPu
 * @Date: 2020/8/11 18:25
 * @Version: 1.0
 * @description:
 */


public interface ItemElasticSearchService {


    /**
     * ElasticSearch实现全文检索，并且高亮展示
     *
     * @param keywords
     * @param sort
     * @param page
     * @param pageSize
     * @return
     */
    PagedGridResult searchItemsMessageInfo(String keywords, String sort, Integer page, Integer pageSize);


}
